@import "../../assets/styles/theme.module.scss";
.dashboard_select_box {
  display: flex;
  height: max-content;
  flex-direction: column;
  position: relative;
  .dashboard_select {
    border: 1px solid #666;
    min-width: 10rem;
    background-color: white;
    height: 2rem;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    .selected_defaultvalue {
      color: black;
      display: inline-block;
      position: absolute;
      left: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
    }
    .select_arrow_box {
      height: 32px;
      width: 32px;
      top: 0;
      right: 0;
      display: flex;
      position: absolute;
      align-items: center;
      justify-content: center;
      background-color: #666;
    }
  }
  .select_item_box {
    color: black;
    background-color: white;
    padding: 8px 0;
    z-index: 500;
    opacity: 1;
    transform: none;
    min-width: 120px;
    transition: opacity 251ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
      transform 167ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transform-origin: 60px 0px;
    border: 3px;
    position: absolute;
    width: 100%;
    top: 2rem;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px,
      rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
    max-height: 20rem;
    overflow-y: auto;
    .select_item_list {
      .dashboard_select_item {
        cursor: pointer;
        min-height: auto;
        padding: 0.25rem 0.7rem;
        &:hover {
          background-color: rgb(245, 245, 245);
        }
        &.active {
          background-color: $main_light;
          color: white;
        }
      }
    }
  }
}
